public class PrinterText {
    public static void main(String[] args) {
        CanonPrinter cp=new CanonPrinter();
        cp.open();
        cp.print();
        cp.close();
        cp.clean();

        HPPrinter hp=new HPPrinter();
        hp.open();
        hp.print();
        hp.close();

    }
}
